﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="activityAlter.aspx.cs" Inherits="Backstage_Pages_sysmng_update_activity" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta charset="UTF-8">
    <title>修改活动申请</title>
    <link rel="stylesheet" href="../../css/common.css">
    <link rel="stylesheet" href="../../css/main.css">
    <script type="text/javascript" src="../../js/jquery.min.js"></script>
    <script type="text/javascript" src="../../js/colResizable-1.3.min.js"></script>
    <script type="text/javascript" src="../../js/common.js"></script>
    <script src="../../js/WdatePicker.js"></script>
    </head>
<body>
    <div id="forms">
        <div class="box">
            <div class="box_border">
                <div class="box_top"><b class="pl15">修改活动申请</b></div>
                <div class="box_center">
                    <form id="form1" runat="server">
                        <table class="form_table pt15 pb15 td_center" width="100%" border="0" cellpadding="0" cellspacing="0">

                            <tr>
                                <td class="wh60 td_right" style="width: 43%">开始时间：</td>
                                <td style="float: left">
                               <asp:TextBox ID="startTimes" class="Wdate" runat="server" CssClass="input-text lh30 wh300" onfocus="WdatePicker({ dateFmt: 'yyyy/MM/dd HH:mm:ss', minDate: '%y-%M-{%d+3} %H:%m:%s', maxDate: '%y-%M-{%d+7} %H:%m:%s' })" TextMode="DateTime"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="startTimes" ErrorMessage="开始时间不为空"></asp:RequiredFieldValidator>
                                   
                                </td>
                            </tr>

                             <tr>
                                <td class="wh60 td_right" style="width: 43%">结束时间：</td>
                                <td style="float: left"><%--, minDate: '%y-%M-%d {%H-20}:%m:%s', maxDate: '%y-%M-%d {%H+30}:%m:%s' --%>
                                     <asp:TextBox ID="endTimes" class="Wdate" runat="server" CssClass="input-text lh30 wh300" onfocus="WdatePicker({ dateFmt: 'yyyy/MM/dd HH:mm:ss', minDate:'#F{$dp.$D(\'startTimes\',{d:+7})}', maxDate:'#F{$dp.$D(\'startTimes\',{d:+14});}'})" TextMode="DateTime"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="endTimes" ErrorMessage="结束时间不为空"></asp:RequiredFieldValidator>
                                     </td>
                            </tr>

                            <tr>
                                <td class="wh60 td_right" style="width: 43%">数量：</td>
                                <td style="float: left">
                                    <asp:TextBox ID="total" runat="server" CssClass="input-text lh30 wh300" MaxLength="40" TextMode="Number" ></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="total" ErrorMessage="数量不为空"></asp:RequiredFieldValidator>
                                </td>
                            </tr>

                              <tr>
                                <td class="wh60 td_right" style="width: 43%">平台收益：</td>
                                <td style="float: left">
                                    <asp:TextBox ID="PlatformProfit" runat="server" CssClass="input-text lh30 wh300" MaxLength="40" TextMode="Number" ></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="PlatformProfit" ErrorMessage="平台收益不为空"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                                  <tr class="td_center">

                                <td class="wh60 td_right" style="width: 43%">商品名称：</td>
                                <td style="float: left">
                                    <asp:TextBox ID="goodsName" runat="server" CssClass="input-text lh30 wh300" MaxLength="1150" TextMode="MultiLine" Rows="2"></asp:TextBox>
                                </td>
                            </tr>
                            <tr class="td_center">
                                <td class="wh60 td_right" style="width: 43%">介绍：</td>
                                <td style="float: left">
                                    <asp:TextBox ID="Introduce" runat="server" CssClass="input-text lh30 wh300" MaxLength="1150" TextMode="MultiLine" Rows="3"></asp:TextBox>
                                </td>
                            </tr>

                            <tr class="td_center">

                                <td class="wh60 td_right" style="width: 43%">产品图片：</td>
                                <td style="float: left">
                                      <asp:Image ID="pic" runat="server"  style="width:150px;height:150px"/>
                                    <asp:FileUpload ID="pic_upload" runat="server" /><asp:Button ID="btn_upload" runat="server" Text="上传" CausesValidation="False" OnClick="btn_upload_Click" />
                                   <br /> <asp:Label ID="erro_upload" runat="server" ForeColor="Red"></asp:Label>

                                </td>
                            </tr>



                            <tr>
                                <td colspan="2">
                                    <asp:Button ID="btnSave" runat="server" Text="保存" CssClass="btn btn82 btn_save2" OnClick="btnSave_Click" />
                                    <asp:Button ID="btnReturn" runat="server" Text="返回" CssClass="btn btn82 btn_res" OnClick="btnReturn_Click" />
                                </td>
                            </tr>
                        </table>
                    </form>
                </div>
            </div>
        </div>
    </div>
</body>
</html>
